SW_WAPF\Includes\Controllers\Product_Controller B

Total Complexity 82
Dependencies 6
Dependents 1
Total lines 366
Lines of code 238
Logical lines of code 173
Comment lines 2
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
validate_cart_data()
A
46 15 35
adjust_cart_item_pricing()
A
51 12 23
display_field_groups()
A
43 9 47
add_fields_to_cart_item()
A
51 10 24
display_fields_on_cart_and_checkout()
A
56 10 17
order_again_cart_item_data()
S
53 6 20
create_order_line_item()
S
55 5 22
to_cart_fields()
S
56 4 17
change_add_to_cart_text()
S
64 4 9
set_add_to_cart_url()
S
69 3 7
check_product_support()
S
72 3 5
__construct()
S
60 1 12